export const ROLE_LABELS = {
  admin: '超级管理员',
  project_admin: '模版管理员',
  project_user: '普通用户',
  viewer: '只读用户'
}

export const getRoleLabel = (role) => ROLE_LABELS[role] || role

export const ROLE_OPTIONS = [
  { label: ROLE_LABELS.admin, value: 'admin' },
  { label: ROLE_LABELS.project_admin, value: 'project_admin' },
  { label: ROLE_LABELS.project_user, value: 'project_user' },
  { label: ROLE_LABELS.viewer, value: 'viewer' }
]


